STEP 8: Let's use one of our parameter variables in the text command so that we can change it later.

The value of date is"Sunday the 20th". We change the date by changing the first argument in the function call.

  • Change the string argument in the .Text() command to date.
  • Change the x-coordinate argument in .Text() from 100 to 0.
  • Change the color argument to .Text() from "red" to "blue".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)